package cn.wolfcode.luowowo.ticket.service;

import cn.wolfcode.luowowo.ticket.domain.TicketOrder;

import java.util.List;

public interface ITicketOrderService {
    /**
     *  保存或修改
     */
    void saveOrUpdate(TicketOrder ticketOrder, Long ticketId);

    /**
     *  查询单个
     */
    TicketOrder get(Long id);

    /**
     * 查询全部
     * @return
     */
    List<TicketOrder> list();

    /**
     * 查询所有的门票订单
     * @return
     */
    List<TicketOrder> listAll();
}
